package cn.zxl.spring.holiday.job.service;

import cn.zxl.spring.holiday.job.domain.Permission;
import cn.zxl.spring.holiday.job.qo.QueryObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bofeifei
 * @since 2021-10-01
 */
public interface PermissionService extends IService<Permission> {
    PageInfo<Permission> query(QueryObject qo);

    void load();

    List<Permission> findByRoleId(Long id);

    List<String> findPermissionsByEid(Long id);
}
